<!--#include("./common_header.html")-->
<!--%import("filter/login.xml")-->
<!--%import("filter/openid_login.xml")-->

<script type="text/javascript">
    var keep_signed_msg = "{$lang->about_keep_signed}";
    xAddEventListener(window, "load", function() { doFocusUserId('fo_member_login'); });
</script>

<!-- XE 로그인 폼 -->
<div class="memberSmallBox">

    <div class="header">{$lang->cmd_login}</div>

	<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
		<p>{$XE_VALIDATOR_MESSAGE}</p>
	</div>
    <form ruleset="@login" action="{getUrl('','act','procMemberLogin')}" method="post" id="fo_member_login">
	<input type="hidden" name="success_return_url" value="{getUrl('act', '')}" />
        <fieldset class="login">
            <dl>
                <dt><label for="uid">{$lang->user_id}</label></dt>
                <dd><input type="text" name="user_id" id="uid" value="" class="iText w140" /></dd>
                <dt><label for="upw">{$lang->password}</label></dt>
                <dd><input type="password" name="password" id="upw" value="" class="iText w140" /></dd>
            </dl>

            <p class="keep">
                <input type="checkbox" name="keep_signed" id="keepid_opt" value="Y" onclick="if(this.checked) return confirm(keep_signed_msg);"/>
                <label for="keepid_opt">{$lang->keep_signed}</label>
            </p>
			
			<div class="buttonArea">
				<span class="button black strong"><input type="submit" value="{$lang->cmd_login}" /></span>
			</div>

        </fieldset>
    </form>

    <div class="help tCenter">
        <a href="{getUrl('act','dispMemberFindAccount')}"><span>{$lang->cmd_find_member_account}</span></a> |
        <a href="{getUrl('act','dispMemberSignUpForm')}"><span>{$lang->cmd_signup}</span></a>
    </div>
</div>

<!--@if($member_config->enable_openid=='Y')-->
<!-- OpenID 로그인 폼 -->
<div class="memberSmallBox">

    <div class="header">{$lang->openid}</div>

    <form action="{getUrl('module','member','act','procMemberOpenIDLogin')}" method="post" onsubmit="return procFilter(this, openid_login)">
        <fieldset class="login">
            <dl>
                <dt><label for="open_uid">{$lang->user_id}</label></dt>
                <dd><input type="text" name="openid" id="open_uid" value="" class="openid_user_id" /></dd>
            </dl>
            <span class="button black strong"><input type="submit" value="{$lang->cmd_login}" /></span>

        </fieldset>
        <input type="hidden" name="referer_url" value="{$referer_url}" />
    </form>

    <div class="help tLeft">{$lang->about_openid}</div>

</div>
<!--@end-->

<!--#include("./common_footer.html")-->
